From: David S. Miller Date: Tue, 29 Jul 2014 18:43:58 +0000 (-0700) Subject: Merge branch 'netdev-name' X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~6177^2~70 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=772e7023e61f32c8c334d420c6ce0ab1535dd080;p=linux-4.9.git Merge branch 'netdev-name' Cong Wang says: ==================== net: forbid net devices named "all" "default" or "config" /proc/sys/net/ipv[46]/conf/ could conflict with /proc/sys/net/ipv[46]/conf/(all|default). And /proc/net/vlan/ could conflict with /proc/net/vlan/config. Besides kernel warnings, undefined behavior such as duplicated proc files also appears, therefore we should forbid these names. v2: introduce a helper function, suggested by Florian fix error handling for ipv6_add_dev() in addrconf_init() ==================== Signed-off-by: David S. Miller --- 772e7023e61f32c8c334d420c6ce0ab1535dd080